home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Libris Britannia 4
/
science library(b).zip
/
science library(b)
/
PROGRAMM
/
FORTRAN
/
1888.ZIP
/
README
< prev
Wrap
Text File
|
1989-04-15
|
13KB
|
308 lines
Getting Started with FAT-Video 1.30
-----------------------------------
Notice:
-------
This software is shareware, if you use it , please
honor that fact. Details regarding registration for this
product are enclosed in this "readme" file.
This package provides several libraries of functions designed
for use with Microsoft Fortran, Lahey Fortran F77L, and
Lahey Personal Fortran LP77.
FAT-Video does not support the IBM Professional Fortran,
nor does it support the Ryan-McFarland Fortran compiler.
The libraries provide video/screen/keyboard/memory and
text windowing/menuing functions.
Starting with FAT-Video 1.30 automatic support for TopView
windowing environments is included. This allows you to write
Fortran windowing programs that are compatable with MS-WINDOWS,
DESQview, TOPVIEW, and GEM.
There is a demo to demonstrate some of the
capabilities provided by the libraries. It works with a
Mono, CGA, EGA, or VGA adapter in modes 7 or 3(text modes).
I've tested it with the ATI Graphics solution and the
ATI Wonder card, the IBM EGA, CGA and Mono cards, the
the Compaq Portable II graphics card, and a Paradise VGA card.
If you have any trouble with your graphics card, let
me know your hardware configuration.
There is also a manual on disk IN DOS format. To see how
to call each function from Fortran, see the manual regarding
that funtion.
Installation on Hard Disk:
--------------------------
First copy the disk contents to an empty sub-directory
on your hard disk.
To extract files from the shareware archive file,
Type >arce fv130s
Installation on Floppy Systems Only:
------------------------------------
Same as above except you must specify an output path.
Type >arce fv130s b:\fatvid
Note: In the example you must first make the subdirectory
and name it fatvid on drive B:.
Manual:
-------
The manual is on the shareware disk in generic DOS format.
Registered users receive a printed and bound 7"x9" version of
the manual.
Demos:
-----
There are 2 demos, they are called Demo and Mview. Once unarchived
you need only type Demo/or Mview and the respective demo will start.
The source code for the DEMO and MVIEW is included with the registered
disk only.
FAT-Video 1.30 Pricing Structure
--------------------------------
The registered users of the FAT-Video package will receive
telephone support. The registered version includes the Fortran
source code for the window library, for your personal use and
modification. It may not be freely distributed. The registered
version also contains the window library for the Lahey Personal
Fortran compiler.
Shareware Disk $ 10.00 Manual on disk
Registration & Disk $ 45.00 Manual and disk
& window Fortran source code
Assembler Source Code $ 45.00 VIDEO library source code.
Upgrade (Reg users only) $ 20.00 Manual and disk
Shipping:
All Orders must add $5.00 for Standard UPS
or 10.00 for UPS BLUE (2nd Day Air),
Maryland residents add 5% sales tax.
For Info, or Purchase Orders, call 301-498-3782
To order, send check or mony order, and state items desired, to:
Marc A. Norton -or- Marc Norton
P.O. Box 425 8254 Stone Trail Ct.
Greenbelt MD 20770 Laurel, MD, 2070
FAT-Video 1.30 Notes January 1989
=====================================
This document explains any last minute changes to FAT-Video,
and corrections for known errors in the manual. Any information
included in this document supersedes information and instructions
contained in the users manual.
I) Compiler Support:
--------------------
FAT-Video 1.30 fully supports the Lahey F77L compiler, and
Lahey Personal Fortran LP77. There is no longer any need to use
the MSEXTERNAL keyword in Lahey Fortran programs. The Video library
VIDEOLF.LIB was written for the F77L and LP77 compilers, and works
with both of these compilers. The libraries WINLF.LIB and WINLFFS.LIB
should be used with the F77L compiler. The library WINLP.LIB should
be used with the LP77 compiler.
The F77L compiler should use the WINLF.LIB library, unless you use
the "Fixed-Stack" memory model, as described in the manual. If you do
use the "Fixed-Stack" model use WINLFFS.LIB. This topic is discussed
in the manual in the section "Using Lahey Fortran with FAT-Video".
The "Fixed-Stack" model is also discussed in the Lahey Manual.
Note that the Lahey Personal Compiler does not support the "Fixed-
Stack" memory model and can only be linked with WINLP.LIB.
Independent of which of the window libraries you use, both F77L and
LP77 should also be linked with VIDEOLF.LIB. An example Link command is
shown below.
For F77L: F77L MYPGM
Link MYPGM,,,VIDEOLF WINLF;
-OR- F77L MYPGM
Link MYPGM F77LFS,,,VIDEOLF WINLFFS;
For LP77: LP77 MYPGM
Link MYPGM,,,VIDEOLF WINLP;
II) Library Names:
------------------
The names of all of the libraries have been changed to clarify
the use of each library. Three new libraries have been added to the
FAT-Video package. The manual uses the old library names, you should
use the new library names. The old and new library names are listed
below to help you decipher the manuals explanations. The compiler
that should be used with each library is also listed.
OLD LIBRARY NAMES NEW LIBRARY NAMES SUPPORTED COMPILER
----------------- ----------------- -------------------
VIDEO.LIB VIDEOMF.LIB Microsoft Fortran
WINDOWM.LIB WINMF.LIB Microsoft Fortran
N/A VIDEOLF.LIB Lahey F77L & LP77
WINDOWL.LIB WINLF.LIB Lahey F77L "Heap"
N/A WINLFFS.LIB Lahey F77L "Fixed-Stack"
N/A WINLP.LIB Lahey LP77
III) Library Compiler Settings
-------------------------------
Any special information regarding compiler settings used when
the FAT-Video window libraries were built is given below. Only settings
which could affect how you use these libraries is given.
A) WINMF.LIB - All subroutines in this window library were compiled
using the following command:
FL /c /Fc /4Nt
B) WINLF.LIB & WINLFFS.LIB - All subroutines in these libraries
were compiled with F77L 3.0 using floating point emulation,
no SLD information, and no remembering of subroutine variables.
C) WINLP.LIB - All subroutines in this library were compiled with
LP77 2.0 using floating point emulation. These subroutines do
contain SLD debugging information, since the compiler automat-
ically puts it in the object modules.
IV) Corrections To The Manual
------------------------------
A) Function Desriptions
--------------------
1) pg 24 VSOUTP(STRING)
should be:
VSOUTP(STRING,ROW,COL)
2) pg 26 VSGVB(OFFSEG)
should be:
VSGVB(OFF,SEG)
3) pg 62 MSGA
KEYVALS should be defined as an array:
INTEGER*2 NVALS,KEYVALS(NVALS)
4) VSGEGA was left out of the manual, its description follows:
SUBROUTINE VSGEGA(FLAG)
INTEGER*2 FLAG
Subroutine VSGEGA returns the EGA status. If FLAG=0 no EGA
card was detected. If FLAG=1 an EGA card was detected by INITFV.
5) pg 37 PBV and LPBV
a) Microsoft Fortran:
PBV may be called from Microsoft Fortran as described in
the manual. LPBV should not be called from Microsoft Fortran.
b) Lahey Fortran F77L & LP77
LBPV and PBV are identical in the VIDEOLF.LIB library.
The may both be called from F77L or LP77. The description
in the manual for LBPV is the correct description to use
for both LPBV and PBV when using VIDEOLF.LIB and a Lahey
compiler. The duplicate function of these subroutines is
redundant, but makes porting between Lahey and Microsoft
Fortran much easier. The explanation in the Manual is correct
if you use VIDEOMF.LIB and MSXETERNAL.
VI) Recompileing The Window Library Source Code
-------------------------------------------------
Some of the Fortran source code generates non-fatal error
messages, they can be ignored.
A) Microsoft Fortran
The Microsoft window library archive, FV130MF.ARC, contains
2 .BAT files, MSLIB.BAT and MAKLIB.BAT. These files compile the
individual source files for the window library, and form the
library from the compiled source code. These .BAT files
should make recompileing the source code much simpler.
To use them, at the DOS prompt enter:
C:>MSLIB<RETURN>
C:>MAKLIB<RETURN>
You must have the Microsoft Fortran compiler and library
manager in your current path.
B) Lahey Fortran
The Lahey window library archive, FV130LF.ARC, contains
5 .BAT files, LFLIB.BAT, LPLIB.BAT, MAKLIBLF.BAT, MAKLIBFS.BAT,
and MAKLIBLP.
LFLIB.BAT compiles the window source code using F77L and
MAKLIBLF.BAT makes the library WINLF.LIB. LPLIB.BAT compiles
the window source code using LP77 and MAKLIBLP.BAT forms the
library WINLP.LIB. Once WINLF.LIB is formed you can use
MAKLIBFS.BAT to make the "Fixed-Stack" library, WINLFFS,
for F77L.
Take notice of the size of the LP77 library. It is larger
than the F77L library because LP77 always puts debugging info
in its .OBJ modules. The F77L library WINLF is smaller than
WINLP.LIB because no debugging information was placed in the
WINLF library. If you want libraries with the SLD debugging
information, you must recompile the source code in the
FV130LF.ARC file.
Before you recompile any source code you must place a dummy
file call LAHEY.INC in the directory you will be compiling
from. The file LAHEY.INC is required because the INCLUDE
LAHEY.INC statement was left in the window source code. The
dummy LAHEY.INC file may contain a single line and it may be a
comment line, such as:
C......dummy include file......
Using this dummy include file will also allow you to recompile
any previous code you've written without editing any source code.
Remember, any code you've compiled with Lahey Fortran previous
to FAT-Video 1.30, with the INCLUDE LAHEY.INC, must be recompiled
before linking with VIDEOLF.LIB.
VII) Demos & Sample Programs
----------------------------
All demonstration and sample software is included in an archive
file on the disk. This software is provided in an as is condition,
it is intended as a source of examples. Some of these programs generate
non-fatal errors, you can ignore them. DEMOL & MVIEWL/MIEWXL have been
compiled, linked, and run using the Lahey compilers F77L 3.00 & LP77 2.0.
DEMO & MVIEW/MVIEWX have been compiled, linked, and run using the Microsoft
Fortran 4.1 compiler. The archive file names and their contents are
listed below:
A) Microsoft Disk
SAMPMF.ARC - contains:
----------
DEMO.FFR
MVIEW.FFR, MVIEWX.FFR
SAMPLxx.FFR
B) Lahey Disk
SAMPLF.ARC -contains:
----------
DEMOL.FFR
MVIEWL.FFR, MVIEWL.FFR
SAMPLxx.FFR
FURTHER HELP & INQUIRIES:
=========================
Contact: Marc A Norton
8254 Stone Trail Ct
Laurel, MD, 20707
301-498-3782